using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class FogObj : MonoBehaviour
{
    private Animator animator;
    public void Awake()
    {
        animator = GetComponent<Animator>();
    }
    public void HideMe()
    {
        this.gameObject.SetActive(false);
    }

    public void ShowMe()
    {
        gameObject.SetActive(true);
        animator.Play("FogAnimation"); 
    }
}
